package golf.stockinfo.buysellsimulation;

import java.sql.Date;
import java.sql.Timestamp;
import java.text.DecimalFormat;
import java.util.ArrayList;

public class Temp {

	private static DecimalFormat numberFormat = new DecimalFormat("###,###.00");

	public static void main(String[] args) {

		int count = 0;
		for(int i=0;i<2;i++){
			double MaxPcntMaxLossOnETF = -0.50, StartPcntMaxLossOnETF = -0.05;
			if(i==0){
				SimulateSET_SET50_CombinedApproach.PLAY_SET50_ETF_ON_LONG = false;
				MaxPcntMaxLossOnETF = StartPcntMaxLossOnETF;
			}else{
				SimulateSET_SET50_CombinedApproach.PLAY_SET50_ETF_ON_LONG = true;
			}
			for(double pcntMaxLossOnETF = StartPcntMaxLossOnETF ; pcntMaxLossOnETF >= MaxPcntMaxLossOnETF; pcntMaxLossOnETF = pcntMaxLossOnETF - 0.05){
				for(int cappedContract = 1; cappedContract <= 50; cappedContract = cappedContract + 3){
					for(int smav = 3; smav <= 20; smav++){
						for(double minRunBal = 50000; minRunBal <= 100000; minRunBal = minRunBal + 25000){
							for(double pcntMaxLossOnBal = -0.1 ; pcntMaxLossOnBal >= -0.50; pcntMaxLossOnBal = pcntMaxLossOnBal - 0.1){
								for(double lossStopPerLot = -10000; lossStopPerLot >= -100000; lossStopPerLot = lossStopPerLot - 20000){
									for (int c = 0; c < 76; c++) {
										count++;
									}

								}
							}
						}
					}
				}
			}
		}

		System.out.println(numberFormat.format(count));

	}
}
